﻿using Castle.Windsor;
using Castle.Windsor.Installer;
using Pipeline.Middleware.Contractual.Installer;

namespace Pipeline.Middleware.Contractual.Tests
{
    public class ApplicationBootstrap
    {
        public static IWindsorContainer Container { get; private set; }

        public static IWindsorContainer ConfigureContainer()
        {
            Container=new WindsorContainer();

            Container.Install(FromAssembly.Containing<ApplicationBuilderInstaller>());

            return Container;
        }
    }
}